package com.situ.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {
    private Integer id;//ID
    private String name;//姓名
    private String sex;//性别
    private String phone;//手机号
    private String email;//邮箱
    private String weixin;//微信
    private String qq;//QQ
    private String cardId;
    private String pinyin;
    private LocalDate birthday;//出生日期




    @Override
    public String toString() {
        return "Student{" +
                "birthday=" + birthday +
                ", id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", weixin='" + weixin + '\'' +
                ", qq='" + qq + '\'' +
                ", cardId='" + cardId + '\'' +
                ", pinyin='" + pinyin + '\'' +
                '}';
    }
}
